<%--
  Created by IntelliJ IDEA.
  User: 11382
  Date: 2022/5/13
  Time: 23:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<%--    <title>微梦岛论坛-用户登录页面</title>--%>
    <style>
        h1,h4{
            text-align: center;
            padding: 80px 0 40px 0;
        /*上右下左*/
        }
        h4>img{
            margin-bottom: 5px;
        }
    </style>
</head>
<body>
<%--导入依赖--%>
<jsp:include page="/WEB-INF/pages/module/head.jsp">
    <jsp:param name="title_2" value="用户登录页"/>
</jsp:include>
<%--导入导航栏--%>
<jsp:include page="/WEB-INF/pages/module/navbar.jsp"/>

<div class="container">
<div class="row">
    <div class="col-4"></div>
    <div class="col-4">
        <h4><img src="/static/img/logoti.png" height="62" width="175">BBS用户登录</h4>
        <form name="RegisterForm" action="${pageContext.request.contextPath}/user/login.do" method="post">
            <div class="form-floating mb-3">
                <input type="text" class="form-control" id="username" name="username" placeholder="A combination of numbers or letters">
                <label for="username">用户名</label>
            </div>
            <div class="form-floating mb-3">
                <input type="password" class="form-control" id="password" name="password" placeholder="Password">
                <label for="password">密码</label>
            </div>
            <h1>
                <a class="btn btn-outline-warning" href="${pageContext.request.contextPath}/user/register" role="button">还没有账户？点此注册</a>
                <button type="submit" class="btn btn-primary">即刻享受</button>
            </h1>
        </form>
    </div>
    <div class="col-4">
    </div>
</div>
</div>

</body>
</html>
